import { RouteRecordRaw } from 'vue-router'

const menus: Array<RouteRecordRaw> = [
  {
    path: '/menu',
    name: 'menu',
    component: () => import('@/views/menu'),
    meta: {
      title: '菜单',
      rightText: '',
      requireAuth: false
    }
  },
  {
    path: '/menu/detail/:id',
    name: 'menuDetail',
    component: () => import('@/views/menu/detail.vue'),
    meta: {
      title: '商品详情',
      rightText: '',
      requireAuth: false
    }
  }
]

export default menus